package com.wsk.service;

import com.wsk.pojo.PublishCritic;

import java.util.List;

/**
 * Created by wsk1103 on 2017/5/1.
 */
public interface PublishCriticService {
    //insert
    int insertObject(PublishCritic t);

    //update
    int updateObject(PublishCritic t);

    //select
    PublishCritic getObjectById(int id);

    //delete(The delete operation actually updates allow to 0)
    int deleteObject(PublishCritic t);

    List<PublishCritic> getAllForeach(List<Integer> list);
}
